export const formatTime = (time: number) => {
  const temp = time | 0;
  const m = (temp / 60) | 0;
  const s = temp % 60 | 0;
  if (s < 10) {
    return `${m}:0${s}`;
  } else {
    return `${m}:${s}`;
  }
};
